﻿namespace Entities;

public class Question : BaseEntity<long>
{
    public string Title { get; set; } = null!;
    public string Content { get; set; } = null!;
    public string AskerId { get; set; } = null!;
    public string AskerDisplayName { get; set; } = null!;
    public int ViewCount { get; set; }
    public List<string> TagSlugs { get; set; } = [];
    public bool HasAcceptedAnswer { get; set; }
    public int Votes { get; set; }
    public int AnswersCount { get; set; }
    public DateTime CreatedAt { get; set; }
    public List<Answer> Answers { get; set; } = [];
}